package com.ruoyi.bearing.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 元器件类型管理对象 component_types
 * 
 * @author ruoyi
 * @date 2025-04-01
 */
public class ComponentTypes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 元器件id */
    private Long typeId;

    /** 元器件类型 */
    @Excel(name = "元器件类型")
    private String typeName;

    /** $column.columnComment */
    private String description;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("description", getDescription())
            .toString();
    }
}
